export let routeryanwg = [
    {
        path: '/denglu',
        name: 'denglu',
        component: () => import('@/views/yanwengang/DengLu.vue')
    },
    {
        path: '/shouye',
        name: 'shouye',
        component: () => import('@/views/yanwengang/ShouYeView.vue')
    },
    {
        path: '/diancan',
        name: 'diancan',
        component: () => import('@/views/yanwengang/DianCan.vue')
    },
    {
        path: '/zhuowei',
        name: 'zhuowei',
        component: () => import('@/views/yanwengang/ZhuoWei.vue')
    },
    {
        path: '/dingdan',
        redirect: '/era'
    },
    {

        path: '/dingdan',
        name: 'dingdan',
        component: () => import('@/views/yanwengang/DingDan.vue'),

        children: [
            {
                path: '/era',
                name: 'era',
                component: () => import('@/views/yanwengang/ErA.vue'),
            },
            {
                path: '/erb',
                name: 'erb',
                component: () => import('@/views/yanwengang/ErB.vue'),
            },
        ],
    },
    {
        path: '/caipin',
        name: 'caipin',
        component: () => import('@/views/yanwengang/CaiPin.vue')
    },
    {
        path: '/baobiao',
        redirect: '/xiaoshou'
    },
    {
        path: '/baobiao',
        name: 'baobiao',
        component: () => import('@/views/yanwengang/BaoBiao.vue'),
        children: [
            {
                path: '/xiaoshou',
                name: 'xiaoshou',
                component: () => import('@/views/yanwengang/baobiao/XiaoShou.vue'),
            },
            {
                path: '/liushui',
                name: 'liushui',
                component: () => import('@/views/yanwengang/baobiao/LiuShui.vue'),
            },
        ],
    },
    {
        path: '/shezhi',
        name: 'shezhi',
        component: () => import('@/views/yanwengang/SheZhi.vue')
    },
    //重定向
    {
        path: "/",
        redirect: "/denglu"
    },

    //404页面
    {
        path: '*',
        name: 'no',
        component: () => import('@/views/yanwengang/NoView.vue')
    }
]